import request from 'network/index'

//发布房源
export function publicHouseInfo(data){
  return request({
    method:"post",
    url:"/house/rent/out",
    data
  })
}

//设置为热门房源
export function setHotHouse(data){
  return request({
    method:"put",
    url:"/house/ishot",
    data
  })
}

//重新修改房源的信息
export function upDataHouseInfo(data){
  return request({
    method:"put",
    url:"/house",
    data
  })
}